CC=arm-none-linux-gnueabi-gcc
AFLAGS= -g -lm -L ./lib -lsqlite3
OBJS= env_2_m0_info.cgi login.cgi ctl_2_m0_dev.cgi ctl_a8_dev.cgi setting2.cgi

run:$(OBJS)

$(OBJS):%.cgi:%.c
	$(CC) $(AFLAGS) $< cgic.c ../sem/sem.c -o $@
	
.PHONY:clean
clean:
	rm *.cgi

